import { legacy_createStore as createStore } from 'redux'
import counterReducer from './reducers/counter'
// 参数：reducer，返回值：store 实例
export default createStore(counterReducer)
